import { StrictMode, Suspense } from 'react'
import { createRoot } from 'react-dom/client'
import { BrowserRouter } from 'react-router-dom'
import './index.css'
import App from './App.tsx'

createRoot(document.getElementById('root')!).render(
  <Suspense fallback={<div>组件加载中...</div>}>
    <BrowserRouter>
       <App />
    </BrowserRouter>
  </Suspense>
)
